const db = require('../db');
const mongoose = db.mongoose;
const Schema = db.Schema;
const shopCartSchema = new Schema({
  userName: {
    type: String,
    default: '',
  },
  goodName: {
    type: String,
    default: '',
  },
  goodBuyCount: {
    type: Number,
    default: '',
  },
  goodImg: {
    type: String,
    default: '',
  },
  goodPrice: {
    type: Number,
    default: '',
  }
})

const shopCartType = mongoose.model('shopCart_type',shopCartSchema);
module.exports = shopCartType;